package com.atues.service;

import com.atues.domain.ResponseResult;
import com.atues.domain.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;


/**
 * 文章表(Article)表服务接口
 *
 * @author Liqun
 * @since 2024-08-26 11:54:54
 */
@Service
public interface ArticleService extends IService<Article> {

    ResponseResult getHotArticleList();

    ResponseResult articleList(Integer pageNum, Integer pageSize, Long categoryId);

    ResponseResult getArticleDetail(Long id);

    ResponseResult updateViewCount(Long id);
}

